﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="trying.aspx.cs" Inherits="trying" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="popup.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div id="modal" style="border: 3px solid black; background-color: #9999ff; padding: 25px; font-size: 150%; text-align: center; display: none;">
            This is a modal popup!<br/>
            <br/>
            <input type="button" value="OK" onclick="Popup.hide('modal')"/>
        </div>

        <a href="#" onclick="Popup.showModal('modal');return false;">Show Modal Popup</a>
    </form>
</body>
</html>
